package com.kim.authorization.server.mapper;

import com.kim.authorization.server.dto.ClientsDTO;
import com.kim.authorization.server.model.Clients;
import org.springframework.stereotype.Repository;

/**
 * 认证客户端Mapper
 */
@Repository
public interface ClientsMapper {

    /**
     * 查询客户端根据客户端ID
     *
     * @param clientId 客户端ID
     * @return org.surge.authorization.model.Clients
     */
    Clients selectById(String clientId);

    /**
     * 新增客户端
     *
     * @param clientsDto 内容
     * @return int
     */
    int insert(ClientsDTO clientsDto);
}
